package cn.iocoder.yudao.module.system.api.tenant.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.URL;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

@Data
public class TenantRepVo implements Serializable {

    private Long id;

    /**
     * 用户账号
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 租户名
     */
    private String name;

    private String contactName;

    private String contactMobile;

    private Integer status;

    @URL(message = "绑定域名的地址非 URL 格式")
    private String domain;

    private Long packageId;

    private Date expireTime;

    private Integer accountCount;
}
